<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<link rel="stylesheet" type="text/css" href="/ZDNFProject/css/head.css">
<script type="text/javascript" src="/ZDNFProject/js/jquery-3.2.1.min.js"></script>
<script type="text/javascript">
window.onload =function(){
	//判断session域是否有用户名，如果有用户名，则显示为：欢迎；XXX，如果没有则不处理
	var myName ='<%=session.getAttribute("username")%>';
	if(myName==null||myName=="null"){
		
	}else{
		$("#Login_text").text("欢迎："+myName);
		$("#Login_text").removeAttr('href');
	}
}
</script>

	<!-- 
注意事项：
1.项目名称：见名知意，第一个字母大写：MyProject My_Project
2.不要中间有空格：This is my project
3.不要有点：My.project
4.不要写中文：购物项目

代码提示快捷键：alt+/

 -->
	<div class="head_div1">
		官方网站： <a href="http://gz.gec-edu.org/?gzbdgzbdyueqianpc23">http://gz.gec-edu.org/?gzbdgzbdyueqianpc23
		</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="${pageContext.request.contextPath}/jsp/login.jsp" id="Login_text">[登录]</a>&nbsp;&nbsp;&nbsp;
		<a href="${pageContext.request.contextPath}/jsp/register.jsp">[免费注册]</a>&nbsp;&nbsp;&nbsp; <a href="${pageContext.request.contextPath}/jsp/sp_cart.jsp">[我的购物车]</a>&nbsp;&nbsp;&nbsp;
		<a href="${pageContext.request.contextPath}/jsp/order_item.jsp">[我的订单]</a>&nbsp;&nbsp;&nbsp; <a href="" class="a2">
			设为首页 </a>| <a href="" class="a2">加入收藏</a>


	</div>
	<div class="head_div2">
		<img alt="找不到图片" src="${pageContext.request.contextPath}/image/article/logo.gif"> <img
			alt="找不到图片" src="${pageContext.request.contextPath}/image/banner.gif">
	</div>
	<div class="head_div3">
		<table class="table1">
			<tr>
				<td><a href="${pageContext.request.contextPath}/IndexServlet" class="a1">首页</a></td>
				<td><a href="${pageContext.request.contextPath}/IndexServlet?type_code=0001" class="a1">护肤</a></td>
				<td><a href="${pageContext.request.contextPath}/IndexServlet?type_code=0002" class="a1">彩妆</a></td>
				<td><a href="${pageContext.request.contextPath}/IndexServlet?type_code=0003" class="a1">香氛</a></td>
				<td><a href="${pageContext.request.contextPath}/IndexServlet?type_code=0004" class="a1">身体护理</a></td>
				<td><a href="${pageContext.request.contextPath}/IndexServlet?type_code=0005" class="a1">礼盒套装</a></td>
				<td><a href="${pageContext.request.contextPath}/IndexServlet?type_code=0006" class="a1">母婴专区</a></td>
				<td><a href="${pageContext.request.contextPath}/IndexServlet?type_code=0007" class="a1">男士专区</a></td>
				<td><a href="${pageContext.request.contextPath}/IndexServlet?type_code=0008" class="a1">粉底</a></td>
				<td><a href="${pageContext.request.contextPath}/IndexServlet?type_code=0009" class="a1">粉饼</a></td>
				<td><a href="${pageContext.request.contextPath}/IndexServlet?type_code=0010" class="a1">睫毛膏</a></td>
				<td><a href="${pageContext.request.contextPath}/IndexServlet?type_code=0011" class="a1">唇彩</a></td>
				<td><a href="${pageContext.request.contextPath}/IndexServlet?type_code=0012" class="a1">腮红</a></td>
				<td><a href="${pageContext.request.contextPath}/IndexServlet?type_code=0013" class="a1">食品</a></td>
				<td><a href="${pageContext.request.contextPath}/IndexServlet?type_code=0014" class="a1">保健</a></td>
				<td><a href="${pageContext.request.contextPath}/IndexServlet?type_code=0015" class="a1">瘦身类</a></td>
				<td><a href="${pageContext.request.contextPath}/IndexServlet?type_code=0016" class="a1">美容类</a></td>

			</tr>
		</table>
	</div>

